//
//  UtilMacro.h
//  bgms_p
//
//  Created by xiao.zhao@lachesis-mh.com on 16/2/19.
//  Copyright © 2016年 xiao.zhao@lachesis-mh.com. All rights reserved.
//

#import "MTRGerderUtil.h"
#import "MTRFillString.h"

#ifndef UtilMacro_h
#define UtilMacro_h

typedef enum{
    SYSTEM_STATUS = 0x0101,//1，返回设备变化状态;2，返回当前模式;3，返回当前音量;4，返回当前电量;5，发送更新完成通知
    SYSTEM_UPDATEEQ = 0x0103,//刷新eq
    SYSTEM_RE_BATTERY = 0x0105,//返回电量
    BLE_START_CONNECT = 0x0306,
    BLE_START_DISCONNECT = 0x0406,
    
    MUSIC_PRE_SONG = 0x0101,
    MUSIC_NEXT_SONG = 0x0201,
    MUSIC_PAUSE = 0x0301,
    MUSIC_BLE = 0x010401,
    MUSIC_USB_SD = 0x020401,
    
    BleCommandStart = 0x4152,
    BleCommandEnd = 0x6374,
    BleRepeatSend = 0xa1a2,
    BleCommand3KStart = 0x5678,
    BleCommand3KEnd = 0x9abc
}AppGetHeadUnitSync;

typedef enum{
    PLAYER_STATE_IDLE = 0,    // 空闲
    PLAYER_STATE_SWITCH_NEXT, // 切换下一首中，临时状态，建议删除
    PLAYER_STATE_SWITCH_PRE,  // 切换上一首中，临时状态，建议删除
    PLAYER_STATE_PLAYING,     // 播放
    PLAYER_STATE_PAUSE,       // 暂停
    PLAYER_STATE_FF,          // 快进中
    PLAYER_STATE_FB           // 快退中
}playState;

#endif /* UtilMacro_h */
